<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>电商网</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;
            text-decoration: none;
        }

        #top {
            width: 50%;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: space-around;
        }

        .brand {
            font-size: 22px;
        }
        #top input[type=search] {
            width: 160px;
        }
        .content {
            float: left;
            width: 50%;
            margin: 10px ;
            padding: 5px;
            border: 1px #EEEEEE solid;
            /* 圆角边框 */
            border-radius: 15px;
            box-shadow: 0px 0px 8px 0px #EEEEEE;
        }
        .pic_info img {
            border-radius: 15px;
            width: 50%;
        }
        .pic_info {
            display: flex;
            align-items: center;
        }
        .pic_box {
            flex: 0.7;
        }
        .pic_info ul {
            flex: 1;
        }
        @font-face {
            font-family: myFont;
            src: url('ziti/1.TTF');
        }
        .pic_info li {
            padding-left: 20px;
            line-height: 20px;
            font-size: 18px;
            font-family: 'myFont';
        }
        .pic_info  li:nth-child(2n) {
            opacity: 0.6;
            color: red;
        }
    </style>
</head>

<body>
    <div id="top">
        <div class="brand">电商网</div>
        <form>
            <input type="search" placeholder="搜索">
        </form>
        <a href="#">注册</a>
    </div>
    <div class="content">
        <div class="pic_info">
            <div class="pic_box">
                <img src="img/44.jpg" alt="商品">
            </div>
            <ul>
                <li>商品名称：xxx</li>
                <li>商品价格：xxx</li>
                <li>交易数量：xxx</li>
            </ul>
        </div>
    </div>

    <div class="content">
        <div class="pic_info">
            <div class="pic_box">
                <img src="img/22.jpg" alt="商品">

            </div>
            <ul>
                <li>商品名称：xxx</li>
                <li>商品价格：xxx</li>
                <li>交易数量：xxx</li>
            </ul>
        </div>
    </div>

    <div class="content">
        <div class="pic_info">
            <div class="pic_box">
                <img src="img/22.jpg" alt="商品">

            </div>
            <ul>
                <li>商品名称：xxx</li>
                <li>商品价格：xxx</li>
                <li>交易数量：xxx</li>
            </ul>
        </div>
    </div>
</body>

</html>